{include file="public/header"/}
{include file="public/navleft"}

<div class="tpl-content-wrapper">
    <div class="tpl-content-page-title">
        Cmlabs Tools  条码更换工具
    </div>
    <ol class="am-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">Codereplace</a></li>
        <li class="am-active">Cmlabs tools表单</li>
    </ol>

    <form action="{:url('Codereplace/upload')}" method="post" class="form form-horizontal" enctype="multipart/form-data" id="addform">
        <div class="form-group">
            <br>
            <br>
            <div class="col-sm-5 col-sm-offset-2">
                <div class="input-group">
                    <input id='location' class="form-control" onclick="$('#i-file').click();">
                    <label class="input-group-btn">
                        <input type="button" id="i-check" value="浏览文件" class="btn btn-primary" onclick="$('#i-file').click();">
                    </label>
                </div>
            </div>

            <div class="col-sm-6  col-sm-offset-2">
                <table class="table table-bordered">
                    <caption class = "col-sm-offset-1">**excel格式要求*******1，取下面两列*******2,保持列名抬头)***</caption>
                    <br/><br/>
                    <thead>
                    <tr style="display:none">
                        <th>precode</th>
                        <th>newcode</th>

                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>precode</td>
                        <td>newcode</td>

                    </tr>
                    <tr>
                        <td>61000323328999</td>
                        <td>61000323328100</td>

                    </tr>

                    </tbody>
                </table>

            </div>

            <input type="file" name="excel" id='i-file'  accept=".xls, .xlsx" onchange="$('#location').val($('#i-file').val());" style="display: none">

            <input type="submit" value="更改条码" class="btn btn-primary">
        </div>


    </form>





    {include file="public/footer"/}